package com.hs.biye.service;

import com.hs.biye.model.DTO.EmployeeRequest;
import com.hs.biye.model.DTO.PatientRequest;
import com.hs.biye.model.VO.EmployeeVO;
import com.hs.biye.model.VO.PatientVo;
import com.hs.biye.model.entity.Patient;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.biye.model.reslut.ResultPage;

/**
* @author haoshuai
* @description 针对表【patient】的数据库操作Service
* @createDate 2024-01-15 19:06:20
*/
public interface PatientService extends IService<Patient> {

     /**
      * 分页查询
      * @param
      * @param
      * @return
      */
     ResultPage<PatientVo> getPagePatient(PatientRequest patientRequest);


     Boolean deletepatient(Integer id);


     /**
      * 没有就添加，有就登录
      * @param patientRequest
      * @return
      */
     PatientVo addPatient(PatientRequest patientRequest);

}
